class CreateTailieuriengs < ActiveRecord::Migration
  def change
    create_table :tailieuriengs do |t|
		t.string :ten
		t.string :tacgia
		t.text   :mota
		t.string :link
		t.integer    :luot_down
		t.integer    :luot_xem
		t.references :taikhoan, :theloairieng
      t.timestamps
    end
  end
end
